ICSE X/ICSE Class 10th Computer Applications (MCQ Question Answer) Sample Test,Sample questions

Question:
 A ____________ is a exit control loop in Java.

1.Do while

2.while

3.for

4.Switch

Posted Date:-2022-01-20 05:47:40


Question:
 access mode of method polygon is _______________

1.new

2.public

3.private

Posted Date:-2022-01-20 06:50:48


Question:
 for loop constraints are ____________

1.i=0; i<=n; i++

2.i=0; i<n; i++

3.i=1; i<n; i++

Posted Date:-2022-01-20 06:49:13


Question:
 if (a==b)
{
System.out.printin(a+b);
}
else
{
System.out.println (a-b);
}
when a-7 and b=5
 

1.12,35

2.35

3. 2

Posted Date:-2022-01-20 06:11:27


Question:
 Inialization of the word piglatin _____________

1.word="";

2.piglatin="";

3.piglatinWord="";

Posted Date:-2022-01-20 06:44:45


Question:
 Name of the Class in above program is:

1.palin

2.palindrome

3.class

Posted Date:-2022-01-20 06:20:04


Question:
 switch (x)
{
case'a':System.out.printin("Discipline");
case 'b:System.out.printin ("Dedication");
break;
case 'c':System.out.println("Commitment")
default: System.out.println("Success");
}
when x='C'

1.Discipline

2.Dedication

3.Success

Posted Date:-2022-01-20 06:14:32


Question:
 The statement to insert some data as input in Java is.

1.System.scaner(0)2

2.new

3.Scanner

Posted Date:-2022-01-20 05:55:14


Question:
 The wrapper class to which boolean type belongs

1.boolen

2.boot

3.Boolean

Posted Date:-2022-01-20 05:49:23


Question:
 The_____________
is called the instance of the class

1.Sub Class

2.Attributes

3.Object

4.None of these

Posted Date:-2022-01-20 05:45:14


Question:
 What is the return type of Ispalindrome() function is

1.char

2.string

3.boolean

Posted Date:-2022-01-20 06:23:51


Question:
!(20<3&&4>6)

1.True

2.False

Posted Date:-2022-01-20 06:00:15


Question:
A _____________ is used to give single line comment in Java.

1.//*Comment

2./*Comment*1

3.11 Comment

4.*1 Comment *1

Posted Date:-2022-01-20 05:46:37


Question:
A _______________
is the data or a sequence of characters used in a program to represent a contant that
never changes its value during the execution of program.

1.Class

2.literal

3.array

4.String

Posted Date:-2022-01-20 05:26:01


Question:
Access modifier of class palin is

1.public

2.private

3.protected

Posted Date:-2022-01-20 06:26:11


Question:
Beginning of string is denoted by

1. int i=0;

2.double i=0;

3.char i=0;

Posted Date:-2022-01-20 06:25:15


Question:
Boolean is a non- primitive data type

1.True

2.False

Posted Date:-2022-01-20 05:57:49


Question:
Choose the odd one:

1.&

2.&&

3.>>

4.<<

Posted Date:-2022-01-20 06:03:02


Question:
Choose the odd one:

1.>=

2.==

3.&

4.<=

Posted Date:-2022-01-20 06:04:02


Question:
Choose the odd one:

1.Switch

2.If

3.f-else

4.for

Posted Date:-2022-01-20 06:04:48


Question:
Choose the odd one:

1.byte

2.boolean

3.char

4.Array

Posted Date:-2022-01-20 06:05:43


Question:
Choose the odd one:

1.abstraction

2.inheritance

3.portable

4.encapsulation

Posted Date:-2022-01-20 06:06:42


Question:
Condition of while loop in above program is

1.i == j

2.i<J

3.i>=j

Posted Date:-2022-01-20 06:22:07


Question:
do loop is doubly bounded iterative statement.

1.True

2.False

Posted Date:-2022-01-20 06:01:24


Question:
Example of operator overloading is

1.&

2.**

3.++

Posted Date:-2022-01-20 06:54:55


Question:
Invoking a function without any parameters of a class is termed as

1.Call by value

2.call by reference

3.call as default

Posted Date:-2022-01-20 05:56:50


Question:
Keyword to use scanner class is ____________

1.old

2.new

3.Void

Posted Date:-2022-01-20 06:30:48


Question:
n-10000;
while (n>10)
n=n/10;
Computer Applicatio
System.out.println(n);
How many time the loop is executed and what is the output?

1.Loop is executed 4 times and the output is 10

2. Loop is executed 3 times and the output is 100

3.Loop is executed 1 times and the output is 10.

Posted Date:-2022-01-20 06:16:14


Question:
Name of the class is ______________

1.Kboatpolygon

2.polygon

3.ob

Posted Date:-2022-01-20 06:51:46


Question:
Name the type of error in the statement given below
int r-100/r

1.Syntax

2.Runtime

3.Logical

4.Warning

Posted Date:-2022-01-20 05:23:51


Question:
Operator overloading is the feature

1.Inheritance

2.Encapsulation

3.default

4.Polymorphism

Posted Date:-2022-01-20 06:54:20


Question:
Overloading types are?

1.Function overloading

2.Operator overloading

3.All of above

Posted Date:-2022-01-20 06:55:40


Question:
Scope of local variable is with in a class.

1.True

2.False

Posted Date:-2022-01-20 06:00:40


Question:
Statement to get length of string used above

1. strlen();

2.l=len();

3.str.lenth();

Posted Date:-2022-01-20 06:21:06


Question:
String x = (a<=30)? "poor": "fail";
when a = 30

1.poor

2.fail

3.poor and fail

Posted Date:-2022-01-20 06:12:54


Question:
The code which can execute on any machine and is independent of architecture is

1.Source code

2.Object Code

3.Byte code

Posted Date:-2022-01-20 05:51:53


Question:
The comparison operator(==)is left associative.

1.True

2.False

Posted Date:-2022-01-20 06:01:58


Question:
The method with the same name as of the class and which does not have a return data type is called
as

1.Constructor

2.Function

3.Method

Posted Date:-2022-01-20 05:54:24


Question:
The number of bytes occupied by int data type is ____________byte/s

1.4

2. 8

3.2

4.None of these

Posted Date:-2022-01-20 05:27:07


Question:
The package used is ______________

1. java.util.*

2.java.sys.*

3.java.str.*

Posted Date:-2022-01-20 06:42:13


Question:
The parameters passed to object in main Program are ___________

1.5,2

2.2

3.2,5

Posted Date:-2022-01-20 06:47:04


Question:
The______ flag is initialized as __________.

1.flag=0;

2.flag!=0;

3.flag==0

Posted Date:-2022-01-20 06:33:26


Question:
To input the string object ____________ used.

1.ob.next()

2.ob.nextLine()

3.ob.nextln()

Posted Date:-2022-01-20 06:32:16


Question:
What is operator overloading?

1.A bloc of code similar to method with same name as its class.

2.Define the multi role of some operator

3.A bloc of code to find the class

Posted Date:-2022-01-20 06:53:18


Question:
What is the final value stored in variable x?
int a-7.76;
double x-Math.abs(Math.floor(a));

1. 8.0

2.7.0

3.8

4. 7

Posted Date:-2022-01-20 05:23:02


Question:
What is the Name of the class used in above program.

1.Piglatin

2.LatinWord

3.PiglatinWord

Posted Date:-2022-01-20 06:29:33


Question:
Which of the following is not valid KEYWORD?
(i)  for  (ii)  far  (iii)  Break   (iv)  since

1.(i)

2.(ii)

3. (iii)

4.(iv)

Posted Date:-2022-01-20 05:19:34


Question:
Which of the following reserved keyword in Java?

1.object

2.stricfp

3.main

4.system

Posted Date:-2022-01-20 05:22:03


Question:
Which one is not correct relational operator?
(i)  ==     (ii)  =    (iii) !=   (iv)  <>

1.(i)

2.(ii)

3.(iii)

4.(iv)

Posted Date:-2022-01-20 05:21:24


Question:
x=x++ + ++ x; [x = 5]

1.9

2.10

3.11

4.12

Posted Date:-2022-01-20 06:08:45


More MCQS

  1. ICSE Class 10th Hindi MCQ question answer
  2. ICSE Class 10th Hindi Sahitya Sagar Short Stories MCQ Question Answers
  3. ICSE Class 10th-Hindi MCQ question & answer
  4. ICSE Class 10th Hindi Sahitya Sagar Poem MCQ Question Answers
  5. ICSE Class 10th Hindi Naya Rasta MCQ Question Answers
  6. ICSE Class 10th Hindi Ekanki Sanchay MCQ Question Answers
  7. ICSE Board Class 10th Hindi MCQ Question Answers
  8. ICSE Board Class 10th Hindi Sahitya Sagar Short Stories MCQ Question Answers
  9. ICSE Board Class 10th Hindi Sahitya Sagar Poem MCQ Question Answers
  10. ICSE Board Class 10th Hindi [ Naya Rasta ] MCQ Question Answers
  11. ICSE Board Class 10th Hindi [ Ekanki Sanchay ] MCQ Question Answers
  12. ICSE Board Class 10th Hindi Sample Paper 2 MCQ Question Answers
  13. ICSE Board Class 10th Hindi Sample Paper 2 [ Sahitya Sagar Short Stories ] MCQ Question Answers
  14. ICSE Board Class 10th Hindi Sample Paper 2 [ Sahitya Sagar Poems ] MCQ Question Answers
  15. ICSE Board Class 10th Hindi Sample Paper 2 [ Naya Rasta ] MCQ Question Answers
  16. ICSE Board Class 10th Hindi Sample Paper 2 [ Ekanki Sanchay ] MCQ Question Answers
  17. ICSE Board Class 10th Hindi Sample Paper 3 MCQ Question Answers
  18. ICSE Board Class 10th Hindi Sample Paper 3 [ Sahita Sagar-Short Stories ] MCQ Question Answers
  19. ICSE Board Hindi sample paper of class 10th [ Naya Rasta ] MCQ
  20. ICSE Board Class 10th Hindi Sample Paper 3 Sahitya Sagar Poem MCQ Question Answers
  21. ICSE 10th Class MCQ Question Answers [ Sahitya Sagar- Short Stories]
  22. ICSE Board Hindi 10th class MCQ Question Answers [ Ekanki Sanchay ]
  23. ICSE Class 10th Hindi MCQ Question answers
  24. ICSE Class 10 Hindi MCQ Question Answers
  25. ICSE 10th Class [ Sathiya Sagar poem ] MCQ Question Answer
  26. ICSE 10th class MCQ Question answers (Naya Rasta)
  27. ICSE 10th class MCQ Question Answers Ekanki Sanchay
  28. ICSE 10th Class English 1st MCQ Question Answers
  29. ICSE 10th class English Fill in the blanks
  30. ICSE 10th class English MCQs With Answers
  31. ICSE 10th class English 1st Fill in the blanks
  32. ICSE class 10th English MCQ Questions Answers
  33. ICSE 10th class English Language MCQ Question Answer
  34. ICSE 10th Class English Language Fill in the blanks
  35. ICSE 10th class English Language [ Choose the correct option ]
  36. ICSE class 10th English 1st [ Choose the correct answer ]
  37. ICSE Board 10th class English Language MCQ Question Answers
  38. ICSE 10th class English 1st [ Fill in the blanks ]
  39. ICSE class 10th English Language [ Choose the correct option ]
  40. ICSE 10th class English Language [ Choose the correct Answers ]
  41. English Language MCQ Question Answers [ ICSE 10th Class ]
  42. English Language Fill in the blanks [ ICSE Board Class 10th ]
  43. ICSE 10th class [ Choose the correct option ] English Language
  44. ICSE 10th class [ Choose the correct answer ] English Language
  45. ICSE 10th Class English Literature MCQ
  46. ICSE 10th class English Literature MCQ Questions Answers
  47. ICSE 10th class English Literature MCQ Question Answers
  48. ICSE Board class 10th MCQ Question Answers [ English Literature ]
  49. ICSE 10th class English Literature Questions Answers
  50. ICSE 10th class English Literature [ MCQ Question Answers ]
  51. ICSE Class 10 MCQ Question Answer English Literature
  52. ICSE X English Literature MCQ Question Answer
  53. ICSE X English Literature [ Choose the correct Answers ]
  54. ICSE X English Literature [ Choose the correct Answers ]
  55. ICSE X English 2nd MCQ Question Answers
  56. ICSE X English 2nd [Choose the correct Answers]
  57. ICSE X English 2nd [Choose the correct Answers]
  58. ICSE 10th English 2nd MCQ Question Answers
  59. ICSE 10th English 2nd [ Choose the correct Answers ]
  60. ICSE 10th class English 2nd [ Choose the correct Answers ]
  61. ICSE 10th class History and Civics MCQ Question Answers
  62. ICSE X History and Civics MCQ Question Answers
  63. ICSE X History and Civics [ MCQ Question Answers ]
  64. ICSE 10th History and Civics MCQ Question Answers
  65. ICSE class 10th History and Civics Question Answers
  66. ICSE class 10th History and Civics [ MCQ Question Answers ]
  67. ICSE 10th Class History and Civics [ MCQ Question Answers ]
  68. ICSE 10th Class History and Civics ( MCQ Question Answers )
  69. ICSE 10th History and Civics ( MCQ Question Answers )
  70. ICSE 10th History and Civics MCQ Question Answers with Images
  71. ICSE 10th History and Civics MCQs with Answers
  72. ICSE 10th History and Civics (MCQs with Answers)
  73. ICSE 10th Geography ( MCQ Question Answers )
  74. ICSE 10th Geography (Choose the correct Answer)
  75. ICSE 10th class Geography ( MCQ Question Answers )
  76. ICSE X Geography MCQ Question Answers
  77. ICSE X Geography MCQ Question Answers with Map
  78. ICSE X class Geography MCQ Question Answers
  79. ICSE X Geography [ MCQ Question Answers with Map ]
  80. ICSE 10th class Geography MCQ Question Answers
  81. ICSE X Geography [ MCQ Question Answer with Map ]
  82. ICSE 10th class Geography [ MCQ Question Answer ]
  83. ICSE X Geography MCQ Question Answer with Map
  84. ICSE 10th class Geography MCQ Question Answer
  85. ICSE X mathematics [ MCQ Question Answer ]
  86. ICSE X mathematics MCQ Question Answer
  87. ICSE 10th Class mathematics MCQ Question Answer
  88. ICSE 10th Class Mathematics ( MCQ Question Answer )
  89. ICSE X Class Mathematics ( MCQ Question Answer )
  90. ICSE X Class mathematics [ MCQ Question Answer ]
  91. ICSE X Physics MCQ Question Answer
  92. ICSE X Physics [ MCQ Question Answer ]
  93. ICSE 10th class Physics [ MCQ Question Answer ]
  94. ICSE 10th Physics [ MCQ Question Answer ]
  95. ICSE X Chemistry [ MCQ Question Answer ]
  96. ICSE X Chemistry MCQ Question Answer
  97. ICSE 10th Class Chemistry MCQ Question Answer
  98. ICSE X Chemistry [ MCQ Question Answer ]
  99. ICSE 10th class Chemistry [ MCQ Question Answer ]
  100. ICSE X Biology [ MCQ Question Answer ]
  101. ICSE 10th class Biology [ MCQ Question Answer ]
  102. ICSE X Biology MCQ Question Answer
  103. ICSE 10th Class Biology MCQ Question Answer
  104. ICSE 10th Class Biology [ MCQ Question Answer ]
  105. ICSE Class 10th Computer Applications MCQ Question Answers
  106. ICSE Class 10th Computer Applications [ MCQ Question Answers ]
  107. ICSE X Computer Applications [ MCQ Question Answer ]
  108. ICSE X Computer Applications MCQ Question Answer
  109. ICSE Class 10th Computer Applications (MCQ Question Answer)
  110. ICSE Class 10th Physical Education (MCQ Question Answer)
  111. ICSE X Physical Education MCQ Question Answer
  112. ICSE Class 10th Economics (MCQ Question Answer)
  113. ICSE Class 10th Economics MCQ Question Answer
  114. ICSE Class 10th Commercial Studies (MCQ Question Answer)
  115. ICSE Class 10th Commercial Studies [MCQ Question Answer]
Search
R4R Team
R4Rin Top Tutorials are Core Java,Hibernate ,Spring,Sturts.The content on R4R.in website is done by expert team not only with the help of books but along with the strong professional knowledge in all context like coding,designing, marketing,etc!